<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>Hello Page</title>
</head>
<body>

<h1>Hello Thymeleaf!</h1>

<div th:if="${message}">
    <p th:text="${message}"></p>
</div>




<div th:if="${mycoupon}">
    <h2>Mycoupon Details:</h2>
    <p th:text="'Coupon Name: ' + ${mycoupon.mycouponName}"></p>
    <p th:text="'Coupon Price: ' + ${mycoupon.mycouponPrice}"></p>
    <p th:text="'Coupon Number: ' + ${mycoupon.mycouponNumber}"></p>
    <p th:text="'Customer ID: ' + ${mycoupon.customerId}"></p>
    <p th:text="'Customer Name: ' + ${mycoupon.customerName}"></p>
    <p th:text="'Coupon Status: ' + ${mycoupon.mycouponStatus == 1 ? 'Active' : 'Inactive'}"></p>

</div>






</body>
</html>
